home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / mslang / poetmf / src / adrdlg.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-02  |  1.6 KB  |  60 lines

  1. // ******************************************************************
  2. //
  3. //  adrdlg.cpp : implementation file
  4. //           
  5. //    Most of this file is created by ClassWizard
  6. //
  7. //  (C) 1993 POET Software
  8. //
  9. // ******************************************************************
  10.  
  11.  
  12. #include <stdafx.h>        //    MFC header
  13. #include <adrdlg.h>     //    header to this file
  14.  
  15.  
  16. #ifdef _DEBUG            //    added by ClassWizard
  17. #undef THIS_FILE
  18. static char BASED_CODE THIS_FILE[] = __FILE__;
  19. #endif
  20.  
  21.  
  22.  
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CAddressDlg dialog
  25.  
  26. CAddressDlg::CAddressDlg(CWnd* pParent /*=NULL*/)
  27.     : CDialog(CAddressDlg::IDD, pParent)
  28. {
  29.     //{{AFX_DATA_INIT(CAddressDlg)
  30.     m_strNewCity = "";                   // initialize edit controls
  31.     m_strNewStreet = "";
  32.     m_intNewZIP = 0;
  33.     //}}AFX_DATA_INIT    
  34. }
  35.  
  36. void CAddressDlg::DoDataExchange(CDataExchange* pDX)
  37. {
  38.     CDialog::DoDataExchange(pDX);
  39.     //{{AFX_DATA_MAP(CAddressDlg)
  40.     DDX_Text(pDX, IDC_EDIT_ADR_CITY, m_strNewCity);
  41.     DDX_Text(pDX, IDC_EDIT_ADR_STREET, m_strNewStreet);
  42.     DDX_Text(pDX, IDC_EDIT_ADR_ZIP, m_intNewZIP);
  43.     //}}AFX_DATA_MAP
  44. }
  45.  
  46. BEGIN_MESSAGE_MAP(CAddressDlg, CDialog)
  47.     //{{AFX_MSG_MAP(CAddressDlg)
  48.         // NOTE: the ClassWizard will add message map macros here
  49.     //}}AFX_MSG_MAP
  50. END_MESSAGE_MAP()
  51.  
  52.  
  53. /////////////////////////////////////////////////////////////////////////////
  54. // CAddressDlg message handlers
  55.  
  56. //    There are no additional message handlers necessary.
  57. //    OK button with ID of IDOK invokes CDialog::OnOK, when clicked
  58. //  CANCEL button with ID of IDCANCEL invokes CDialog::OnCancel, when clicked
  59.  
  60.